/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;

import ModelLayer.Product;
import java.util.ArrayList;

/**
 *
 * @author Sharif
 */
public interface IFDBProduct {

    int delete(int id);

    Product findProduct(String id, boolean retriveAssociation);

    ArrayList getAllProducts(boolean retriveAssociation);

    int insertProduct(Product prod);

    Product searchProductName(String attValue, boolean retriveAssociation);

    int updateProduct(Product prod);

}
